<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    
</head>
<body>
    <script src="./demo01.js" type=""></script>
    
    请输入第一个数：<input type="text"  id="num1">
    请输入第二个数：<input type="text" id="num2">
    <input type="button" value="+" onclick="plus()">
    <input type="button" value="-" onclick="jianfa()">
    <input type="button" value="*" onclick="chengfa()">
    <input type="button" value="/" onclick="chufa()">
    结果：<input type="text" id="result">
    
</body>
</html>